package com.htpay.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.htpay.model.entity.MerchantOrder;

public interface IMerchantOrderService extends IService<MerchantOrder> {

    /**
     * 返回实体id
     *
     * @param order
     * @return
     */
    String insert(MerchantOrder order);

    /**
     * 查询商户订单是否存在
     *
     * @param merchantOrderCode
     * @return
     */
    MerchantOrder queryOrderByMCode(String merchantOrderCode);
}
